package com.aliang.shopping.mapper;

import com.aliang.shopping.model.po.Contact;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ShiBaLover
* @description 针对表【contact(联系人表)】的数据库操作Mapper
* @createDate 2024-10-28 09:35:41
* @Entity com.aliang.shopping.model.po.Contact
*/
public interface ContactMapper extends BaseMapper<Contact> {

    List<Long> getContactIdsByKeyWord(@Param("ids") List<Long> ids, @Param("keyword") String keyword);

    List<Long> getContactIdsByUserId(Long userId);

    Integer getUnreadNum(@Param("userId") Long userId);
}




